/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package code;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author Renato Rosa <2101076@my.ipleiria.pt>
 */
@XmlRootElement
public class InfoFilaEspera {
    @XmlElement(required = true)
    public String balcao;
    @XmlElement(required = true)
    public String fila;
    @XmlElement(required = true)
    public int numero;

    public InfoFilaEspera() {
    }
    
    public InfoFilaEspera(String balcao, String fila, int numero) {
        this.balcao = balcao;
        this.fila = fila;
        this.numero = numero;
    }

    @Override
    public String toString() {
        return "Balcão: " + balcao + " Fila: " + fila + "Número: " + numero;
    }
    
    
}
